package com.shxzz.easy12306.services.ticket.service;

import com.shxzz.easy12306.services.ticket.dao.entity.TrainDO;

/**
 * 列车信息服务层接口
 * @author shxzz
 * @create 2024-03-11-14:57
 */
public interface TrainService {

    /**
     * 根据列车 ID 获取列车信息
     * @param trainId
     * @return
     */
    TrainDO getTrainInfo(String trainId);
}
